<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich">
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
 </head>
    <ui:composition template="/template/templateAdminIndex.xhtml">
    	<ui:define name="divlogin"> 
				<h2>
					<h:outputText value="#{msgs.cablogin}" />
				</h2>
				<h:form id="login">
					<h:message style="color:red;" for="login" showDetail="true" />
					<f:verbatim>
						<br />
						<br />
					</f:verbatim>
					<h:outputLabel value="#{msgs.login}" />
					<h:inputText value="#{loginBean.login}" />
					<f:verbatim>
						<br />
						<br />
					</f:verbatim>
					<h:outputLabel value="#{msgs.senha}" />
					<h:inputSecret value="#{loginBean.senha}" />
					<f:verbatim>
						<br />
						<br />
					</f:verbatim>
					<h:outputLabel value="#{msgs.pin}" />
					<h:inputSecret value="#{loginBean.pin}" />
					<f:verbatim>
						<br />
						<br />
					</f:verbatim>
					<h:commandButton styleClass="btns" action="#{loginBean.logar}"
						value="#{msgs.logar}" />
					<f:verbatim>
						<br />
						<br />
					</f:verbatim>
					<h:outputLink value="../index.jsf">
						<h:outputText value="#{msgs.voltarpraindex}"/>
					</h:outputLink>
				</h:form>
		</ui:define>
    </ui:composition>
</html>